package com.pointmi.model;

import javax.validation.constraints.NotNull;

public class CartProductModel {

	@NotNull(message="CartProduct ID cannot be null")
	private int cartProductId;
	
	@NotNull(message="Cart ID cannot be null")
	private int cartId; 
	
	@NotNull(message="ProductID cannot be null")
	private int productId;
	
	@NotNull(message="Quantity cannot be null")
	private int quantity;	
	
	public int getCartProductId() {
		return cartProductId;
	}

	public void setCartProductId(int cartProductId) {
		this.cartProductId = cartProductId;
	}

	public int getUserId() {
		return cartId;
	}

	public void setUserId(int userId) {
		this.cartId = userId;
	}

	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
}
